package imnu.work.imnu0715_work03.work_02.oop;

/**
 * @author: lys
 * @类名: ColEmployee
 * @Title:
 * @date: 2020/7/15
 **/
public class ColEmployee {
    //定义属性
    private String empName;
    private int empMonth;

    //构造函数
    public ColEmployee(){}
    public ColEmployee(String empName,int empMonth){
        this.empName = empName;
        this.empMonth = empMonth;
    }

    //getSalary方法,本月过生日时的员工工资
    public double getSalary(int month){
        return 0;
    }

    //getter和setter方法
    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public int getEmpMonth() {
        return empMonth;
    }

    public void setEmpMonth(int empMonth) {
        this.empMonth = empMonth;
    }
}
